<?php
    
    class ElementModalLogin extends Element {
        public function Render() {
            global $server;

            ?><div style="display: none;" class="logon modalwin" id="loginmodal">
                <div class="holder">
                    Username: <input type="text" />
                    Password: <input type="password" />
                </div>
                <input type="button" value="Login" class="button login" onclick="Login.Do( this )" />
                <input type="button" value="Cancel" class="button cancel" onclick="Modals.Destroy();" />
                <br /><?php
                if ( !isset( $server[ 'loginrequired' ] ) ) {
                    ?><a href="" onclick="Modals.Destroy(); return false;">Manage Users</a><?php
                }
            ?></div><?php
        }
    }

?>
